package construction.flyweight;

public class ConcreteWebsite implements Website {
    private String name;

    public ConcreteWebsite(String name) {
        this.name = name;
    }

    @Override
    public void use(User user) {
        System.out.println("网站发布形式：" + name + "  " + user.getName() + "正在使用");
    }
}
